package com.toolkit;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableConfigurationProperties
@EnableTransactionManagement
@MapperScan({"com.toolkit.module.**.mapper"})
@EnableAsync  //开启异步注解的配置注解
public class ToolkitApplication {

    public static void main(String[] args) {
        SpringApplication.run(ToolkitApplication.class, args);
    }

}
